package com.gqzdev.xblog;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.data.redis.repository.configuration.EnableRedisRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * SpringBoot 应用启动方法
 */

@SpringBootApplication
@EnableTransactionManagement
@EnableCaching
@MapperScan(basePackages = "com.gqzdev.xblog.dao")
public class XblogApplication {

    public static void main(String[] args) {
        SpringApplication.run(XblogApplication.class, args);
    }

}
